* {
    margin: 0px;
    padding: 0px;
}

/************页面头部样式*************/
#top_bar {
    background-color: #333;
    font-size: 14px;
}

#top_bar nav {
    width: 960px;
    height: 30px;
    line-height: 30px;
    margin: 0px auto;
    color: #337ab7;
}

#top_bar nav span {
    float: right;
    height: 30px;
    padding: 0 5px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

#top_bar nav span a {
    color: cornflowerblue;
    text-decoration: none;
}

#banner {
    width: 820px;
    height: 410px;
    margin: 10px auto;
}

#banner img {
    display: block;
}

#menu {
    width: 960px;
    margin: 0 auto;
}
#menu ul{
    list-style: none;
    border-top: 1px solid #adadad;
    border-bottom: 1px solid #adadad;
    overflow: auto;
}

#menu ul li{
    float: left;
}

#menu ul li a{
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 5px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

#menu ul li a:hover{
    color: #ff6700;
}

#menu ul li a. on{
    color: #ff6700;
    font-weight: bold;
}



/**************商品数据的显示******************/
#container{
    width: 960px;
    margin: 10px auto;
}

#container ul{
    list-style: none;
    overflow: auto;
}

#container ul li{
    width: 228px;
    height: 320px;
    border: 1px solid #333;
    margin: 5px;
    float: left;
}

#container ul li img{
    display: block;
    width: 228px;
    height: 250px;
}

#container ul li .info{
    height: 69px;
    border-top: 1px solid #333;
}

#container ul li .info p{
    margin: 5px 5px;
}